11 while(scanf("%d", &n
) == 1 && n
){
12 for (int i
=0; i
<n
; ++i
){
13 for (int j
=0; j
<n
; ++j
){
14 scanf("%d", &g
[i
][j
]);
18 printf("Case %d:", C
++);
19 for (int i
=0; i
<(n
/2); ++i
){
20 //printf("\ni es: %d\n", i);
22 for (int j
=i
; j
<=n
-1-i
; ++j
){
26 for (int k
=i
+1; k
<n
-1-i
; ++k
){
27 s
+= g
[k
][i
] + g
[k
][n
-1-i
];
31 if (n
& 1) printf(" %d", g
[n
/2][n
/2]);